package com.lwl.blue.commont.base;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>  </p>
 *
 * @Date: 2021/11/4 09:50
 * @version: V1.0
 * @Decription:
 * @author: 蓝文良
 */
@Data
public class LoginUser implements Serializable {
    @NotBlank(message = "账号不能为空")
    private String username;
    @NotBlank(message = "账号不能为空")
    private String password;
}
